<h2> Registrations </h2>
<?php if( count( $regs ) > 0 ) { ?>
    <div id="accordion">
        <? foreach( $regs as $reg ) { ?>
            <h3><?= $reg['User']['nume'] . " " . $reg['User']['prenume'] ?></h3>
            <div>
                <div class="stage_desc">
                    <a class='link_util' href='<?= SITE_URL ?>registration/accept/<?= $reg['User']['id'] ?>/<?= $id_theme ?>' name='Accept' value='Accept'>Accepta</a>
                </div>
                <?php foreach( $reg['reqVals'] as $reqVal ) { ?>
                    <div class="stage_task">
                        <div><?php echo $reqVal['RequirementValue']['label']; ?></div>
                        <div><?php echo $reqVal['RequirementValue']['value']; ?></div>
                    </div>
                <?php } ?>
            </div>
        <? } ?>
    </div>
<?
}
else {
    echo "<div>Nu s-a inscris niciun student pana acum</div>";
}
?>